<form id="app-form" class="layui-form layuimini-form">

    <div class="layui-form-item">
        <label class="layui-form-label">账号</label>
        <div class="layui-input-block">
            <input type="text" name="account" class="layui-input" lay-verify="required" placeholder="请输入账号" value="{:sysconfig('sr_sms','account')}">
            <tip>填写账号。</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">密钥</label>
        <div class="layui-input-block">
            <input type="text" name="key" class="layui-input" lay-verify="required" placeholder="请输入密钥" value="{:sysconfig('sr_sms','key')}">
            <tip>填写密钥。</tip>
        </div>
    </div>
    <input type="hidden" name="server_name" value="{php}echo $_SERVER['SERVER_NAME'];{/php}">

    <div class="hr-line"></div>
    <div class="layui-form-item text-center">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="system.config/save" data-refresh="false">确认</button>
        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
    </div>

</form>